package com.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class FoodType {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String typeName;

    public FoodType() {
    }

    public FoodType(Integer id, String typeName) {
        this.id = id;
        this.typeName = typeName;
    }
}
